import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/view/Login'
import Main from '@/view/Main'
import OrderIssueDetail from '@/view/Page/AirOrderManage/OrderIssueDetail'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      component: Login
    },
    {
      path: '/main',
      component: Main
    },
    {
      path: '/air-order-manage/order-issue-detail',
      component: OrderIssueDetail
    }
  ]
})
